Class symantec.itools.db.beans.brl.validation.string.StringValidation
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.db.beans.brl.validation.string.StringValidation

Object
   |
   +----symantec.itools.db.beans.brl.validation.string.StringValidation

public class StringValidation
extends Object
implements Validation
Class for generic validation function for string datatypes

Version:
1.0 08/04/98
Author:
Puru Balakrishnan

Constructor Index

 o symantec.itools.db.beans.brl.validation.string.StringValidation()

Method Index

 o getDisplayString()
Method to return a String which would be used for displaying method information to the user Example: For a class which calculates the sum of three columns using a description like "sum( ?,?,? )" would be appropriate.
 o validate(ValidationRow)

return the computed value from the passed in input Row.

Constructors

 o StringValidation
public StringValidation()

Methods

 o getDisplayString
public java.lang.String getDisplayString()
Method to return a String which would be used for displaying method information to the user Example: For a class which calculates the sum of three columns using a description like "sum( ?,?,? )" would be appropriate.

Returns:
String representing the display name
 o validate
public void validate(ValidationRow inputRow) throws ValidationException

return the computed value from the passed in input Row. The first parameter ,ComputeRow, is a grouping of columns which are to be used for calculating the new derived value. These columns could represent constant as well as real database columns.

Parameters:
inputRow - row of input columns
Throws: ValidationException
if rule validation fails
See Also:
ComputeRow

All Packages  Class Hierarchy  This Package  Previous  Next  Index